package com.hq.talk.http;

/**
 * 对应后台接口
 */
public class API {

    //阿里正式域名
    //用户，账户，好友
    public static final String URL_APP_USER_RELEASE = "http://www.51jiayoula.com/";
    //红包，打赏,首页
    public static final String URL_APP_REDPACKET_RELEASE = "http://www.51jiayoula.com/";
    //圈子，作品
    public static final String URL_APP_CIRCLE_RELEASE = "http://www.51jiayoula.com/";
    //晒一晒
    public static final String URL_APP_SHINE_RELEASE = "http://www.51jiayoula.com/";

    //测试地址
    //用户，账户，好友
    public static final String URL_APP_USER_TEST = "http://120.26.132.107/";
    //红包，打赏,首页
    public static final String URL_APP_REDPACKET_TEST = "http://120.26.132.107/";
    //圈子，作品
    public static final String URL_APP_CIRCLE_TEST = "http://120.26.132.107/";
    //晒一晒
    public static final String URL_APP_SHINE_TEST = "http://120.26.132.107/";

    /***************************************用户相关***********************************************/
    /**
     * 注册
     */
    public static final String REGISTER = "user/regPhone.do";

    /**
     * 短信验证码
     */
    public static final String USER_SENDSMS = "user/getAuth.do";

    /**
     * 用户登录
     */
    public static final String USER_LOGIN = "user/loginPassport.do";

    /**
     * 修改密码
     */
    public static final String MODIFY_PW = "user/updatePassword.do";

    /**
     * 重置密码
     */
    public static final String RESET_PW = "user/resetPassword.do";

    /**
     * 查询用户详情
     */
    public static final String SEARCH_USER_INFO = "user/userDetail.do";

    /**
     * 修改用户信息
     */
    public static final String MODIFY_USER_INFO = "user/update.do";

    /**
     * 修改用户手机号
     */
    public static final String MODIFY_PHONE = "user/changePhone.do";

    /**
     * 修改用户头像
     */
    public static final String MODIFY_USER_HEAD = "user/updateLogoUrl.do";

    /**
     * 修改用户昵称
     */
    public static final String MODIFY_USER_NAME = "user/updateNickName.do";

    /**
     * 查询我的工作信息
     */
    public static final String SEARCH_MY_WORK = "user/getUserPerm.do";


    //*************************************文件上传相关********************************************/
    /**
     * 图片上传
     */
    public static final String PIC_FILE_UP = "file/up.do";

    /***************************************公司相关***********************************************/
    /**
     * 查询公司
     */
    public static final String SEARCH_COMPANY = "company/getCompanys.do";
    /**
     * 查询所有工作信息
     */
    public static final String SEARCH_ALL_WORK = "company/getPerms.do";
}
